﻿<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="FAQ" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xe="http://www.CrossFactory.net/XmlEditor">
  <xs:complexType name="FAQcontent">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="entry" type="entry" maxOccurs="unbounded" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="entry">
    <xs:sequence>
      <xs:element name="question" type="text" minOccurs="0" maxOccurs="1" xe:defaultOccurs="1"/>
      <xs:element name="answer" type="answer"  minOccurs="0" maxOccurs="1" xe:defaultOccurs="1"/>
      <xs:element name="anchor" type="text" minOccurs="0" maxOccurs="1" xe:property="true" xe:defaultOccurs="1" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="answer">
    <xs:sequence>
      <xs:element name="section" type="section"  xe:defaultOccurs="1"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="headpicture" mixed="false">
    <xs:sequence>
      <xs:element name="uri" type="text" maxOccurs="1" minOccurs="1" xe:property="true" xe:hyperlinkType="localImage" />
      <xs:element name="width" type="size" maxOccurs="1" minOccurs="1" xe:property="true" />
      <xs:element name="height" type="size" maxOccurs="1" minOccurs="1" xe:property="true" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FAQcontent" type="FAQcontent"></xs:element>
</xs:schema>